﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Domain.Model.Authority
{
    /// <summary>
    /// 功能表
    /// </summary>
    [Table("Operation")]
    public class Operation
    {
        [Key]
        ///主键
        public int OperationId { get; set; }

        /// <summary>
        /// 操作名称
        /// </summary>
        [Column(TypeName = "nvarchar(50)")]
        [MaxLength(50)]
        public string OperationName { get; set; }
    }
}
